set noexpand

The set noexpand command disallows history expansion on the interactive command line.

set noexpand

set expand